# 提取json数据
import json

json_file = 'D:\python\scrapy_dome\qsbk\duanzi.json'

with open(json_file, 'r', encoding='utf-8') as f:
    while True:
        if len(f.readline()) == 0:
            break

        dict_line = f.readline()
        print(len(dict_line))